import request from '@/sheep/request';

const assetApi = {
	/**
	 * @description 获取资产列表
	 * @param {Object} data
	 */
	getAssetDetailsLog: (data) => {
		return request({
			url: '/member/asset-details-log/page',
			method: 'GET',
			data,
		})
	},
	getAssetDetails: (type) => {
		return request({
			url: '/member/asset-details/get',
			method: 'GET',
			data: {
				type: type
			}
		})
	},
	withDrawal: (data) => {
		return request({
			url: '/member/asset-details/withdrawal',
			method: 'GET',
			data
		})
	},
	secondaryVerification: (data) => {
		return request({
			url: '/secondaryVerification',
			method: 'POST',
			data
		})
	},
}
export default assetApi;